package com.imooc.enums;

import lombok.Getter;

/**
 * 功能描述: <br>
 * (支付状态枚举类)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 17:37
 * @since: 1.8.0
 * @version: 1.0.0
 */
@Getter
public enum PayStatusEnum implements CodeEnum<Integer> {
    WAIT(0, "等待支付"),
    SUCCESS(1, "支付成功"),;

    private Integer code;
    private String message;

    PayStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
